package com.atguigu.gmall.item;

import com.atguigu.gmall.common.config.exception.annotion.EnableGlobalAutoHandleException;
import com.atguigu.mall.cache.MallCacheAutoConfiguration;
import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Import;

/**
 * @ClassName ItemApplication
 * @Description TODO
 * @Author king
 * @Date 2022/11/6 0:17
 * @Version 1.0
 */
//@Import(MallCacheAutoConfiguration.class)
@SpringCloudApplication
@EnableGlobalAutoHandleException
@EnableFeignClients(basePackages = {
        "com.atguigu.gmall.feignclients.product",
        "com.atguigu.gmall.feignclients.search"
})
public class ItemApplication {

    public static void main(String[] args) {
        SpringApplication.run(ItemApplication.class, args);
    }

}
